<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>订单完成</title>
    <style>
        *{
            margin: 0;
            padding: 0;
            border: 0;
        }
        .index_left{
            float: left;
            width:20%;
            background-color: darkgray;
        }
        .index_left_box{
            width: 100%;
            height:200px;
        }
        .index_left_box a{
            text-decoration: none;
        }
        .index_left_box a h1{
            padding-left: 100px;
            padding-top: 80px;
        }
        .index_right{
            float: left;
            width: 80%;
        }
        .index_right h2{
            font-size:50px;
            text-align: center;
            margin-top: 100px;
        }
        .index_right span {
            float: left;
            border: 1px solid black;
            padding-top: 30px;
            padding-bottom: 30px;
            text-align: center;
            text-decoration: none;
            width: 19%;
            font-size: 40px;
            color: red;
        }
        .index_right span.tb{
            padding-top: 0px;
            padding-bottom: 0px;
        }
        .index_right span p{
            float: left;
            width: 100%;
            border: 1px solid black;
            padding-top: 30px;
            padding-bottom: 30px;
        }
        .index_right_top h3 {
            float: left;
            border: 1px solid black;
            padding-top: 30px;
            padding-bottom: 30px;
            font-size: 40px;
            margin-top: 100px;
            text-align: center;
            width: 19%;
            color: yellow;
        }
    </style>
</head>
<body>
<div class="index">
    <div class="index_left">
        <div class="index_left_box">
            <a href="/category/login"><h1>图书列表</h1></a>
        </div>
        <div class="index_left_box">
            <a href=""><h1>搜索图书</h1></a>
        </div>
        <div class="index_left_box">
            <a href=""><h1>个人中心</h1></a>
        </div>
        <div class="index_left_box">
            <a href="/order/cart"><h1>购物车</h1></a>
        </div>
        <div class="index_left_box">
            <a href=""><h1>我的订单</h1></a>
        </div>
        <div class="index_left_box">
            <a href="/"><h1>退出系统</h1></a>
        </div>
     </div>
    <div class="index_right">
        <h2>订单</h2>
        <div class="index_right_top">
            <h3>订单编号</h3>
            <h3>用户</h3>
            <h3>书名</h3>
            <h3>作者</h3>
            <h3>价格</h3>
        </div>
        <span>${order.id!''}</span>
        <span>${order.user!''} </span>
        <span class="tb">
         <#if order.items??>
           <#list order.items as item>
             <p>《${item.name}》</p>
           </#list>
          </#if>
         </span>
        <span class="tb">
         <#if order.items??>
           <#list order.items as item>
               <p>${item.author}</p>
           </#list>
         </#if>
        </span>
        <span class="tb">
          <#if order.items??>
           <#list order.items as item>
               <p>${item.price}</p>
           </#list>
          </#if>
         </span>
    </div>
 </div>
</body>
</html>